home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Many Bugs in a Box
/
How Many Bugs in a Box.cdr
/
bugs
/
act3
/
00005_Field_5.txt
next >
Wrap
Text File
|
1995-03-28
|
1KB
|
31 lines
on resource
set blist = [1,2,3,4,5,6,7,8,9,10,11]
set nlist = []
repeat with xxx = 1 to many
set choice = random(count(blist))
set numbs = random(10)
set type = getat(blist,choice)
set the castnum of sprite (xxx + 3) = the number of cast ("bug"&type)
puppetsprite (xxx + 3), 1
set the visible of sprite (xxx + 3) to true
set bot = (type + 9)
set the castnum of sprite bot = the number of cast ("bug"&type&"."&numbs)
addat(nlist,numbs)
puppetsprite bot, 1
set the visible of sprite bot to true
deleteat(blist,choice)
end repeat
set many = many/2
repeat with xxx = 1 to many
set choice = random(count(blist))
set numbs = random(10)
set type = getat(blist,choice)
set bot = (type + 9)
set the castnum of sprite bot = the number of cast ("bug"&type&"."&numbs)
addat(nlist,numbs)
puppetsprite bot, 1
set the visible of sprite bot to true
deleteat(blist,choice)
end repeat
end